package com.scvtc.domain.entity.room;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("机房信息")
@TableName(" room_base")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RoomBase {
//     `id` bigint(20) NOT NULL AUTO_INCREMENT,
//  `room_campus` enum('河东校区','龙凤校区','锂电学院','汽车学院','其他') DEFAULT NULL COMMENT '所属校区',
//            `room_floor` varchar(255) DEFAULT NULL COMMENT '所属楼栋',
//            `room_name` varchar(0) DEFAULT NULL COMMENT '机房名称',
//            `room_startDate` datetime DEFAULT NULL COMMENT '建成时间',
//            `room_brand` varchar(255) DEFAULT NULL COMMENT '品牌',
//            `room_count` int(255) DEFAULT NULL COMMENT '机器数量',
//            `room_useable_count` int(255) DEFAULT NULL COMMENT '可用数量',
//            `room_have_disk` enum('有盘','无盘') DEFAULT NULL COMMENT '是否有盘',
//            `room_desk_count` int(255) DEFAULT NULL COMMENT '桌椅数量',
//            `room_money` decimal(10,0) DEFAULT NULL COMMENT '建设金额',
//            `room_catagory` enum('软件','网络','动漫','其他') DEFAULT NULL COMMENT '机房类型',
//            `room_switch_brand` varchar(255) DEFAULT NULL COMMENT '交换机品牌',
//            `room_switch_count` int(255) DEFAULT NULL COMMENT '交换机数量',
//            `room_router_brand` varchar(255) DEFAULT NULL COMMENT '路由器品牌',
//            `room_router_count` int(255) DEFAULT NULL COMMENT '路由器数量',
//            `room_speaker` varchar(255) DEFAULT NULL COMMENT '音箱',
//            `room_phone` varchar(255) DEFAULT NULL COMMENT '话筒',
//            `room_files_path` varchar(255) DEFAULT NULL COMMENT '相关附件路径',
//            `room_description` text COMMENT '备注',

    @TableId
    private Integer id;


    @ApiModelProperty(value = "所属校区")
    private String roomCampus;
    @ApiModelProperty(value = "所属楼栋")
    private String roomFloor;
    @ApiModelProperty(value = "机房名称")
    private String roomName;

    @TableField("room_startDate")
    @ApiModelProperty(value = "建成时间")
    private String roomStartDate;
    @ApiModelProperty(value = "品牌")
    private String roomBrand;
    @ApiModelProperty(value = "机器数量")
    private String roomCount;

    @TableField("room_useable_count")
    @ApiModelProperty(value = "可用数量")
    private String roomUseableCount;

    @ApiModelProperty(value = "是否有盘")
    private String roomHaveDisk;
    @ApiModelProperty(value = "桌椅数量")
    private String roomDeskCount;
    @ApiModelProperty(value = "建设金额")
    private String roomMoney;

    @ApiModelProperty(value = "机房类型")
    private String roomCatagory;
    @ApiModelProperty(value = "交换机品牌")
    private String roomSwitchBrand;
    @ApiModelProperty(value = "交换机数量")
    private String roomSwitchCount;
    @ApiModelProperty(value = "路由器品牌")
    private String roomRouterBrand;
    @ApiModelProperty(value = "路由器数量")
    private String roomRouterCount;
    @ApiModelProperty(value = "音响")
    private String roomSpeaker;
    @ApiModelProperty(value = "话筒")
    private String roomPhone;
    @ApiModelProperty(value = "相关附件")
    private String roomFilesPath;
    @ApiModelProperty(value = "备注")
    private String roomDescription;

    @TableField(exist = false)
    @ApiModelProperty(value = "合同名称")
    private String roomId;

    @TableField(exist = false)
    @ApiModelProperty(value = "合同名称")
    private String contractName;

    @TableField(exist = false)
    @ApiModelProperty(value = "合同文书路径")
    private String contractFilePath;

    @TableField(exist = false)
    @ApiModelProperty(value = "合同备注")
    private String contractDescription;
}
